//
//  SstDevice.h
//  IOS_SST
//
//  Created by lfy on 16/4/25.
//  Copyright © 2016年 jiahua. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Define.h"

@interface SstDevice : NSObject
{
}
@property (strong,nonatomic) NSString* deviceID;
@property (strong,nonatomic) NSString* mac;
@property (strong,nonatomic) NSString* ip;
@property (nonatomic) int port;
@property (nonatomic, setter= setHexToken:) u8* hexToken;
@property (nonatomic, getter = getUdpKey)u8* udpKey;
@property (nonatomic, getter = getTcpKey)u8* tcpKey;

@property (nonatomic, getter = getK1) u8* k1;

@property (nonatomic, setter = setUdpK2:) u8* udpK2;
@property (nonatomic, setter = setTcpK2:) u8* tcpK2;

@property (nonatomic, setter = setHexUdpKeyID:) u8* hexUdpKeyID;

@property (nonatomic) Boolean  isLegacy;
@property (nonatomic, getter = getSsidKey, setter = setSsidKey:) u8 * ssidKey;

@property (nonatomic) Boolean hasGetR3;
@property (nonatomic, getter = getUdpIsHandShaked)Boolean isUdpHandShaked;
@property (nonatomic, getter = getTcpIsHandShaked)Boolean isTcpHandShaked;

-(void)clearTcpKey;
-(void)clearUdpKey;
@end
